package com.gpframework.common.enums;

import lombok.Getter;

/**
 * @author BrinedFish
 * @create 2022-06-09 10:18
 */
@Getter
public enum UserVisitorEnum {

    /**
     * user_visitor#visitor_type
     */
    MAKE_AN_APPOINTMENT("预约到店", "10"),
    MAKE_UP_VISIT("补约到访", "20"),
    SOLICITING_VISITS("拉访", "30"),

    /**
     * user_visitor#visitor_status
     */
    SUBSCRIBE_VISIT("预约到访", "10"),
    SUBSCRIBE_VISIT_COMPLETE("到访", "20"),

    NO_CONTRACT("失约", "50"),
    ;

    /**
     * 业务名称
     */
    private String name;

    private String key;

    private UserVisitorEnum() {
    }

    private UserVisitorEnum(String name) {
        this.name = name;
    }

    UserVisitorEnum(String name, String key) {
        this.name = name;
        this.key = key;
    }
}
